/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package beans;

/**
 *
 * @author Dhruv
 */

//this javabeans class represents a customer's friend
public class SeekerFriend {

    //friends name, his profile picture, and the time he became
    //a mutual friend or time he sent you a friend request
    private String friend, picture, datetime;

    //constructor
    public SeekerFriend(String friend, String picture, String datetime) {
        //no setter methods, the only way to set variables below
        //is by creating a new object
        this.friend = friend;
        this.picture = picture;
        this.datetime = datetime;
    }

    //return the time he became a mutual friend
    //or time he sent you a friend request
    public String getDatetime() {
        return this.datetime;
    }

    //return friends name
    public String getFriend() {
        return this.friend;
    }

    //return friends profile picture
    public String getPicture() {
        return this.picture;
    }
}
